<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
$url = 'news';
	if (sizeof($pages) > 0) {
		foreach ($pages as $page) {
			echo "<div class='one-small-item'>";
				echo "<span>".showmedate($page['news_date'])."</span><br />";
				echo $page['news_title']."<br />";
				echo "<a href='/".$url."/".$page['news_id'].".html'>Подробнее...</a>";
				echo "<br class='cc'/>";
			echo "</div>";
		}
	} else {
		echo showmenotice('Список пуст');
	}
?>
